﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Ruandao.HostServer
{
    using Ruandao.Misc;
    using Ruandao.HostServer.SqlEntityAccess;
    using System.Runtime.Caching;

    public class SqlFileStorage : FileStorage
    {
        internal FileStorage SetFromEntity(FileStorageEntity entity)
        {
            TypeUtil.MapProperty(entity, this,
                "FileStorageId",
                "StorageType",
                "Location" );
            return this;
        }
    }
}
